package com.yfp.operation.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yfp.operation.domain.MachineDamageDetailDO;
import com.yfp.operation.domain.vo.ComboSaleDataVO;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 *
 * @description 针对表【machine_damage_detail】的数据库操作Mapper
 * @createDate 2024-04-25 10:01:12
 * @Entity com.yfp.operation.domain.MachineDamageDetail
 */
public interface MachineDamageDetailMapper extends BaseMapper<MachineDamageDetailDO> {

    Integer getReportNum(String machineId);

    List<MachineDamageDetailDO> lossDate(@Param("machineIds") List<String> machineIds, @Param("startTime") Date startTime, @Param("endTime") Date endTime);

    List<ComboSaleDataVO> lossNum(@Param("lossDateList") List<ComboSaleDataVO> lossDateList);
}




